#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <limits.h>
#define OJ_TEST 0
#define LOCAL_TEST 0

#define M 901


char *keys="`1234567890-=QWERTYUIOP[]\\ASDFGHJKL;'ZXCVBNM,./";
static void solve(void){
	int ch;
	char *p;
	while((ch=getchar())!=EOF){
		p = strchr(keys, ch);
		if(p){
			putchar(*(p-1));
		}else{
			putchar(ch);
		}
	}
}
#if OJ_TEST
	int main(int ac, char *av[]){
		solve();
		return 0;
	}
#elif  LOCAL_TEST
	void run(void){
		solve();
	}

#else

#endif
